package com.isoftstone.project.system.service.impl;

import com.isoftstone.project.system.domain.Database;
import com.isoftstone.project.system.mapper.DatabaseMapper;
import com.isoftstone.project.system.service.IDatabaseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author: guoX
 * @Date: 2020/4/3
 */
@Slf4j
@Service
public class DatabaseService implements IDatabaseService {

    @Autowired
    DatabaseMapper databaseMapper;

    @Override
    public void saveDcdsDatabase(Database record) {
        databaseMapper.saveDcdsDatabase(record);
    }

    @Override
    public List<Database> getDcdsDatabase() {
        return databaseMapper.getDcdsDatabase();
    }



}
